package com.hxl.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hxl.entity.CmfzLog;
import com.hxl.mapper.CmfzLogMapper;
import com.hxl.service.CmfzLogService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * InnoDB free: 12288 kB 服务实现类
 * </p>
 *
 * @author hxl
 * @since 2020-08-21
 */
@Service
public class CmfzLogServiceImpl extends ServiceImpl<CmfzLogMapper, CmfzLog> implements CmfzLogService {
    @Autowired
    private CmfzLogMapper cmfzLogMapper;

    @Override
    public Page<CmfzLog> selectLog(Integer page, Integer limit) {
        Page<CmfzLog> cmfzLogPage = new Page<>();
        Page<CmfzLog> pages = cmfzLogMapper.selectPage(cmfzLogPage, null);
        return pages;
    }
}
